<?php
namespace library\Core\Db;

class CDbMSController {
    
    public static $MasterOrSlave = NULL; 
    
    public function __construct(){
        
    }
    
    public static function setMaster(){
        self::$MasterOrSlave = 'master';
    }
    
    public static function setSlave(){
        self::$MasterOrSlave = 'slave';
    }
    
    public static function getMasterOrSlave(){
        return self::$MasterOrSlave;
    }
    
}